package action.creditapproval;

import java.util.List;

import service.applycheck.ApplyCustomRelationSearchService;

public class ShowApplyDetail {
	private int type;
	private Integer applyid;
	
	private List<?> enssuerList; //保证信息
	private List<?> hypothecateList;//抵押信息
	private List<?> pledgeList; //质押信息
	
	private ApplyCustomRelationSearchService applyCustomRelationSearchService;
	
	public String detail(){
		this.enssuerList = this.applyCustomRelationSearchService.getEnssuerList(applyid);
		this.hypothecateList = this.applyCustomRelationSearchService.getHypothecateList(applyid);
		this.pledgeList = this.applyCustomRelationSearchService.getPledgeList(applyid);
		return "success";
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public Integer getApplyid() {
		return applyid;
	}

	public void setApplyid(Integer applyid) {
		this.applyid = applyid;
	}

	public List<?> getEnssuerList() {
		return enssuerList;
	}

	public void setEnssuerList(List<?> enssuerList) {
		this.enssuerList = enssuerList;
	}

	public List<?> getHypothecateList() {
		return hypothecateList;
	}

	public void setHypothecateList(List<?> hypothecateList) {
		this.hypothecateList = hypothecateList;
	}

	public List<?> getPledgeList() {
		return pledgeList;
	}

	public void setPledgeList(List<?> pledgeList) {
		this.pledgeList = pledgeList;
	}

	public ApplyCustomRelationSearchService getApplyCustomRelationSearchService() {
		return applyCustomRelationSearchService;
	}

	public void setApplyCustomRelationSearchService(
			ApplyCustomRelationSearchService applyCustomRelationSearchService) {
		this.applyCustomRelationSearchService = applyCustomRelationSearchService;
	}
	
	

}
